aboutsummaryrefslogtreecommitdiffstats
path: root/src/routes/(app)/send/lightning/[payreq]
diff options
context:
space:
mode:
authorAdam Soltys <[email protected]>2026-03-04 09:23:03 -0800
committerAdam Soltys <[email protected]>2026-03-04 09:23:03 -0800
commitba579c4f801be258128294e7cb1f4d2e518e37ca (patch)
tree2ffbee38d5d82d06580a68ffddd798c1930d6ded /src/routes/(app)/send/lightning/[payreq]
parente39b182ac4c2134157eca3f4cc7c8c7dfd389484 (diff)
downloadcoinos-ui-ba579c4f801be258128294e7cb1f4d2e518e37ca.tar.gz
coinos-ui-ba579c4f801be258128294e7cb1f4d2e518e37ca.zip
fix api calls
Diffstat (limited to 'src/routes/(app)/send/lightning/[payreq]')
-rw-r--r--src/routes/(app)/send/lightning/[payreq]/[...memo]/+page.svelte2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/routes/(app)/send/lightning/[payreq]/[...memo]/+page.svelte b/src/routes/(app)/send/lightning/[payreq]/[...memo]/+page.svelte
index 5669ee1e..b22d954a 100644
--- a/src/routes/(app)/send/lightning/[payreq]/[...memo]/+page.svelte
+++ b/src/routes/(app)/send/lightning/[payreq]/[...memo]/+page.svelte
@@ -70,7 +70,7 @@
(async () => {
try {
- const inv = await post("/api/invoice", {
+ const inv = await post("/invoice", {
invoice: {
type: "bitcoin",
amount: parseInt(amount),